type net/http.headerSorter
7 uses
net/http (current package)
header.go#L158: type headerSorter struct {
header.go#L162: func (s *headerSorter) Len() int { return len(s.kvs) }
header.go#L163: func (s *headerSorter) Swap(i, j int) { s.kvs[i], s.kvs[j] = s.kvs[j], s.kvs[i] }
header.go#L164: func (s *headerSorter) Less(i, j int) bool { return s.kvs[i].key < s.kvs[j].key }
header.go#L167: New: func() any { return new(headerSorter) },
header.go#L173: func (h Header) sortedKeyValues(exclude map[string]bool) (kvs []keyValues, hs *headerSorter) {
header.go#L174: hs = headerSorterPool.Get().(*headerSorter)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |